package cn.com.vipkid.myapplication;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

/**
 * Created by billy on 2019-05-24.
 * Copyright © 2017年 vipkid. All rights reserved.
 */
public class MainActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        TextView a = new TextView(this);
        a.setText("lalalalalala");
        a.setGravity(View.TEXT_ALIGNMENT_CENTER);
        setContentView(a);
    }
}
